.sched_top {
  padding: 5px 20px;
  .sched_pic {
      float: left;
      span {
          line-height: 36px;
      }
  }
}
.month-select{
  margin: 20px 0;
  text-align: center;
  padding: 0 69px;
  .title{
    font-size: 18px;
    color:#333;
    position: relative;
    margin: 0 auto;
    width:120px;
  }
  .arrow{
    width:0; 
    height:0; 
    cursor: pointer;
    top: 4px;
  }
  .arrow-left {        
    border-top:5px solid transparent;
    border-bottom:5px solid transparent; 
    border-right:5px solid #ccc; 
    left: -5px;
  }
  .arrow-right {
    right:-5px;
    border-top:5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #ccc;
  }
  .tips{
    float: right;
  }
}
.calendar {
  width: 819px;
  margin: 0 auto;
}

.sched_top {
  width: 100%;
  background: $color-primary;
  color: #fff;
}

.week-day {
  float: left;
  width: 117px;
  text-align: center;
  line-height: 24px;
  font-size: 12px;
  color: #666;
  border: 2px solid #ebf0f5;
  border-right: 0;
}
.cal-container{ 
  border-top: 1px solid #f0f0f0;
}
.line{
  width: 20px;
  height: 4px;
  left:-12px;
  top:10px;
  &.green-line{
    background: #35dcaa;
  }
  &.blue-line{
    background: #6779fc
  }
}
.day-list {
  width: 100%;
  border-top: 0px solid #ebf0f5;
  .day-item {
    width: 117px;
    float: left;
    text-align: left;
    padding-top: 10px ;
    padding-left: 20px;
    border: 1px solid #ebf0f5;
    height: 78px;
    cursor: pointer;
    color: $color-black-base;
    span {
        margin-bottom: 10px;
        display: block;
        font-weight: 700;
        color: $color-black-base;
        font-size: 16px;
    }
    a {
        font-size: 12px;
    }
    &.today {
        background-color: $color-primary;
        span {
            color: #fff;
        }
        a {
            color: #fff;
        }
    }
    &:hover {
        a {
            color: #fff;
        }
        span {
            color: #fff;
        }
        .edit{
          display: block;
        }
    }
    &.disable{
      background: #fafafa;
      color:#ccc;
      cursor: not-allowed;
    }
    .currency{
      background: #35dcaa;
      position: absolute;
      width: 115px;
      border-left: 2px solid #1dc08f;
      bottom: 0;
      left: 0;
      height: 34px;
      line-height: 34px;
      color: #fff;
      text-align: center;
    }
  .edit{
    right: 0;
    top: 0;
    width: 50px;
    height:25px;
    background: #c1e6e5;
    padding-top: 2px;
    text-align: center;
    display: none;
    line-height: 1;
    i{
      font-size: 20px;
      color:#fff;
    }
    i:hover{
      color:#ccc;
    }
  }
}
  .active {
      border:2px solid $color-primary!important;
  }
  .selected{
    .currency{
      background: #6779fc;
      border-left: 2px solid #475dfb
    }
  }
  .disabled {
    background: #fafafa;
    color: #ccc;
    &:hover {
      background: #fafafa!important;
      color: #ddd;
      cursor: not-allowed;
      span {
        color: #ccc;
      }
    }
  }
  .outDate{
    background: #f0f0f0;
    color: #666;
    &:hover {
      cursor: not-allowed;
      span {
        color: #ccc;
      }
    }
  }
}

 .day-list .day-item:last-child{border-right: 2px solid #ebf0f5;}
 .day-list .active .currency{width:113px;}
 .dates .day-list:first-child{border-top: 0;}
 .dates .day-list:last-child .day-item{border-bottom: 2px solid #ebf0f5}
 .dates .day-list .day-item:first-child{border-left: 2px solid #ebf0f5}
 .week .week-day:last-child{
        border-right: 2px solid #ebf0f5;
 }
 .select-time{
     padding: 36px 10px;
     margin: 0 auto;
     width: 640px;
    }
 .sub-title{
     font-weight: 700;
     margin-bottom: 20px;
     color: #333;
     }
 .time-pick{
     margin-bottom: 20px;
     label{color:$color-black-base;}
 }
 .add-time{margin-top: 10px;margin-left: 104px;}
 
 .mask{
   position: fixed;
   top:0;
   left: 0;
   right: 0;
   bottom: 0;
   text-align: center;
   z-index: 2000;
   background: rgba(0,0,0,.5);
   .message-box{
     text-align: left;
     display: inline-block;
     vertical-align: middle;
     background-color:#fff;
     width: 600px;
     margin: 300px auto;
     border-radius:3px;
     overflow: hidden;
     backface-visibility:hidden;
     font-size: 16px;
     .message-box-head{
       position: relative;
       padding: 20px;
       border-bottom: 1px solid #f0f0f0;
       .message-box-title{
         padding-left: 0;
         margin-bottom: 0;
         font-weight: 700;
         height: 18px;
         color:#333;
       }
       .close{
         right:20px;
         top:20px;
         cursor: pointer;
       }
     }
     .message-box-body{
       padding: 40px 60px;
     }
     .message-box-foot{
        padding-bottom: 60px;
        text-align: center;
     }
   }
 }

 
.popover{
  position: relative;
  display: block;
  background-clip:padding-box;
  background-color:#fff;
  z-index: 2007;
  min-height: 222px;
  white-space:normal;
  width: 248px;
  border:1px solid #c2c2c2;
  padding: 10px;
  text-align: center;
  text-shadow: none;
  text-transform: none;
  border-radius: 2px;
  line-break:auto;
  webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  .arrow{
    border-width:11px;    
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color:transparent;
    border-style: solid;
    &:after{
      position: absolute;
      display: block;
      width: 0;
      height: 0;
      border-color:transparent;
      border-style: solid;
      border-width: 10px;
      content: "";
    }
  }
  &.right{
    .arrow {
      top: 24px;
      left: -11px;
      margin-top: -11px;      
      border-right-color: #999; // IE8 fallback
      border-right-color: rgba(0,0,0,.25);
      border-left-width: 0;
      &:after {
        content: " ";
        left: 1px;
        bottom: -10px;
        border-left-width: 0;
        border-right-color: #fff;
        border-color:transparent;
        border-style: solid;
        box-sizing: border-box;
        border-right-color:#fff;
      }
    }
    .icon-close{
      position: absolute;
      right:10px;
      top:10px;
      cursor: pointer;
    }
  }
  .title{
    font-size: 16px;
    color: #333;
    font-weight: 700;
  }
  .tag{
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #35dcaa;
    line-height: 16px;
    color: #fff;
    display: inline-block;
  }
  .time-item{
    width: 100%;
    position: absolute;
    top:40px;
    left: -10px;
    .time{
      width: 100%;
      line-height: 16px;
      margin-bottom: 10px;
    }
  }
  .popover .time-item:nth-child(2){
    height:16px;
  }  
 }